import Sprite from '../base/Sprite'
import Pencil from './Pencil'

export default class UpPancil extends Pencil {
  constructor(top) {
    const image = Sprite.getImage('pencilUp')
    super(image, top)
  }

  draw() {
    this.y = this.top - this.height
    super.draw()
  }
}